package com.lsl.feign;

import com.lsl.dto.UserDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(name = "vdm-account-service", path = "/user-service")
public interface AccountFeignClient {
    @GetMapping("/findUser/ids/{ids}")
    List<UserDTO> getUsersByIds(@PathVariable("ids") List<Integer> ids);
}
